import request from '@/utils/request'

// 登录
export const onLogin = data => request.post('/auth/login', data)

// 获取
export const getUser = () => request.get('/auth/currentUser')
